package com.fjec.market.feign.config;

import com.fjec.market.feign.fallback.ActivityClientFallback;
import com.fjec.market.feign.fallback.BaseClientFallback;
import com.fjec.market.feign.fallback.PaidClientFallback;
import com.fjec.market.feign.fallback.UserClientFallback;
import org.springframework.context.annotation.Bean;

public class FeignConfig {
    @Bean
    public BaseClientFallback baseClientFallback() {
        return new BaseClientFallback();
    }

    @Bean
    public UserClientFallback userClientFallback() {
        return new UserClientFallback();
    }

    @Bean
    public ActivityClientFallback activityClientFallback() {
        return new ActivityClientFallback();
    }

    @Bean
    public PaidClientFallback paidClientFallback() {
        return new PaidClientFallback();
    }
}
